package com.zky.gulimall.product;

import java.util.concurrent.Semaphore;


/**
 * @Description TODO
 * @Author 张开源
 * @Date 2022/11/9 15:44
 * @Version 1.0
 **/
public class Foo1 {

    public Semaphore semaphore1=new Semaphore(0);

    public Semaphore semaphore2=new Semaphore(0);

    public void first() {
        System.out.println("first");; }
    public void second() {
        System.out.println("second");; }
    public void third() {
        System.out.println("third");; }
}
